<template>
    <div class="welcome-container">
     	<div class="welcome-content">
     		<div class="welcome-img">
     			<img v-if="this.companyId==='2'?true:false" src='../../assets/imgs/mipay.jpg'/>
     			<img v-else src='../../assets/imgs/beijing.png'/>
     		</div>
   			<div v-if="this.companyId==='2'?false:true" class="welcome-text">{{ $t('layer.welcome') }}</div>
   		</div>
  </div>
</template>

<script>
 	export default {
 		data(){
 			return {
 				companyId:localStorage.getItem('companyId'),
 				locale:localStorage.getItem('locale'),
 			}
 		},
 		created(){
 			
 		}
 	}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
	.welcome-container{
		.welcome-content{
			width: 100%;
			height: 100%;
    		.welcome-img img{
    			width: 100%;
				height: 100%;
    		}
			.welcome-text{
				color: white;
				font-size: 28px;
				margin:0 auto;
				position: absolute;
				top: 50%;
				left: 50%;
			}
		}
	}
</style>